package net.zrnecko.bowlingnumbers.entity;


import java.util.Date;
import javax.persistence.Entity;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.validator.Range;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.log.Log;

/**
 *
 * @author zrnecko
 */
@Entity
@Name("resultGame")
@Scope(ScopeType.CONVERSATION)
@Table(name = "game")
public class ResultGame extends Game {
	@Logger
	private static Log log;

	@Override
	public void setResult(int result) {
		super.setResult(result);
		log.debug("Result set to " + result);
	}


}
